import Vue from "vue";
import ElementUI from "element-ui";
import VueParticles from "vue-particles";
import App from "./App.vue";
import router from "./router";
import store from "./store/index";

import "element-ui/lib/theme-chalk/index.css";
import "./assets/style/index.scss";

import { moment } from "./filter";

// 仅引入用到的图标以减小打包体积
import "vue-awesome/icons";

Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.use(VueParticles);
Vue.filter("moment", moment);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
